package com.daka.service;


import com.daka.entity.*;
import com.daka.tools.Page;

import java.util.List;

/**
 * Created by yangx
 * Date: 2016/8/5 0005
 * Time: 14:45
 */
public interface ActivityService {

    int insert(Activity activity);

    int update(Activity activity);

    int delete(Long id);

    Activity selectByPrimaryKey(Long id);

    List<Activity> selectByPrimaryKey1();

    Page<Activity> selectByStatement(Activity activity);

    int selectCountByGroup(Long groupId);
}
